function search_case()
{
    jQuery("#search_loading").show();
    search_key=jQuery("#search_cases").val();
    search_order=jQuery("#orderby").val();
    jQuery.ajax({
  type: "POST",
  url: "/index.php",
  data: { module: "profilemodule", action: "cases_ajax",order_by: search_order,search:search_key,ajax_action:1}
}).done(function( msg ) {
  jQuery("#cases_tb").html(msg);
  jQuery("#search_loading").hide();
});
}
function search_case_enter(e)
{
    if (e.keyCode == 13) {
        search_case()
    }
}